﻿using System.Collections.Generic;

namespace ZhongKeSite.Entity
{
    #region 新闻
    /// <summary>
    /// 新闻页面实体
    /// </summary>
    public class NewsInfo
    {
        /// <summary>
        /// 推荐的新闻
        /// </summary>
        public News RecommendNews { get; set; }
        /// <summary>
        /// 资讯列表
        /// </summary>
        public List<News> NewsList { get; set; }
    }
    /// <summary>
    /// 详情页
    /// </summary>
    public class NewsDetail
    {
        public News News { get; set; }
        /// <summary>
        /// 上一篇
        /// </summary>
        public News PreNews { get; set; }
        /// <summary>
        /// 下一篇
        /// </summary>
        public News NextNews { get; set; }
    }
    #endregion

    #region 关于我们
    public class AboutInfo
    {
        /// <summary>
        /// 关于我们-单页
        /// </summary>
        public SinglePage Story { get; set; }
        /// <summary>
        /// 里程碑
        /// </summary>
        public List<MileStone> MileStoneList { get; set; }
        /// <summary>
        /// 奖项，专利
        /// </summary>
        public List<Honor> HonorList { get; set; }
        /// <summary>
        /// 合作伙伴
        /// </summary>
        public List<Partner> PartnerList { get; set; }
    }
    #endregion

    #region 创新
    public class InnovateInfo
    {
        /// <summary>
        /// 创新
        /// </summary>
        public News NewsFirst { get; set; }
        public News NewsSecond { get; set; }
        public News NewsThird { get; set; }
        public News NewsFour { get; set; }
        public News NewsFive { get; set; }
        /// <summary>
        /// 专家
        /// </summary>
        public List<Expert> ExpertList { get; set; }
    }
    #endregion

    #region 支持
    public class SupportInfo
    {
        /// <summary>
        /// FQAs,服务,下载类型
        /// </summary>
        public List<FAQsInfo> FAQsInfoList { get; set; }
        /// <summary>
        /// 服务
        /// </summary>
        public List<ServiceInfo> ServiceInfoList { get; set; }
        /// <summary>
        /// 下载
        /// </summary>
        public List<DownLoadInfo> DownLoadInfoList { get; set; }
    }
    public class FAQsInfo
    {
        public Category Category { get; set; }
        /// <summary>
        /// FAQs
        /// </summary>
        public List<FAQs> FAQsList { get; set; }
    }
    public class ServiceInfo
    {
        public Category Category { get; set; }
        /// <summary>
        /// 服务
        /// </summary>
        public List<TechnologyService> ServiceList { get; set; }
    }
    public class DownLoadInfo
    {
        public Category Category { get; set; }
        /// <summary>
        /// 下载
        /// </summary>
        public List<DownLoad> DownLoadList { get; set; }
    }
    #endregion

    #region 发送邮件实体
    public class EmailModel
    {
        public string firstName { get; set; }
        public string lastName { get; set; }
        public string email { get; set; }
        public string phone { get; set; }
        public string jobtitle { get; set; }
        public string company { get; set; }
        public string country { get; set; }
        public string message { get; set; }
    }
    #endregion
}
